<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Starshatter_Open: PcxImage Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Starshatter_Open
   </div>
   <div id="projectbrief">Open source Starshatter engine</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('struct_pcx_image.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">PcxImage Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_pcx_8h_source.html">Pcx.h</a>&gt;</code></p>

<p><a href="struct_pcx_image-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3d5b4c2b4da899c4facbceefdc68b4e3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_pcx_image.html#a3d5b4c2b4da899c4facbceefdc68b4e3">PcxImage</a> (short w, short h, unsigned long *hibits)</td></tr>
<tr class="memitem:a5b45064ec096e1b58fcb28ffdeff79e0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_pcx_image.html#a5b45064ec096e1b58fcb28ffdeff79e0">PcxImage</a> (short w, short h, unsigned char *bits, unsigned char *colors)</td></tr>
<tr class="memitem:ad5e1464a85fecfabc1c1ec9f49ee81fe"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_pcx_image.html#ad5e1464a85fecfabc1c1ec9f49ee81fe">PcxImage</a> ()</td></tr>
<tr class="memitem:aef6166fc906cfed5fe843d060d01195d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_pcx_image.html#aef6166fc906cfed5fe843d060d01195d">~PcxImage</a> ()</td></tr>
<tr class="memitem:a8a1ba8c011bcf07869e9cf8930f12adb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_pcx_image.html#a8a1ba8c011bcf07869e9cf8930f12adb">Load</a> (char *filename)</td></tr>
<tr class="memitem:a46ffea6c02866f34b8d6671e4a3b36a5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_pcx_image.html#a46ffea6c02866f34b8d6671e4a3b36a5">Save</a> (char *filename)</td></tr>
<tr class="memitem:a17d19ed5b6151aee713fe2959d2594bc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_pcx_image.html#a17d19ed5b6151aee713fe2959d2594bc">LoadBuffer</a> (unsigned char *buf, int len)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ab89a1fe19de0f2a1dccaa2c887df5707"><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_pcx_image.html#ab89a1fe19de0f2a1dccaa2c887df5707">TYPENAME</a> ()</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a6cffe8633fa17d1501fa73c3cdc553d8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_pcx_header.html">PcxHeader</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_pcx_image.html#a6cffe8633fa17d1501fa73c3cdc553d8">hdr</a></td></tr>
<tr class="memitem:a8e0e07becd18526299b04eed22b2e7f9"><td class="memItemLeft" align="right" valign="top">unsigned char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_pcx_image.html#a8e0e07becd18526299b04eed22b2e7f9">bitmap</a></td></tr>
<tr class="memitem:af8e782a08425e0c93240007b5aed4907"><td class="memItemLeft" align="right" valign="top">unsigned long *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_pcx_image.html#af8e782a08425e0c93240007b5aed4907">himap</a></td></tr>
<tr class="memitem:aecd47ad29478b2df4a567c9adff7feab"><td class="memItemLeft" align="right" valign="top">unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_pcx_image.html#aecd47ad29478b2df4a567c9adff7feab">pal</a> [768]</td></tr>
<tr class="memitem:a21cfeeb8c100d5e2a543f5c4bdd8f213"><td class="memItemLeft" align="right" valign="top">unsigned long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_pcx_image.html#a21cfeeb8c100d5e2a543f5c4bdd8f213">imagebytes</a></td></tr>
<tr class="memitem:abd9f0b27e274747917d4ca48d70bce07"><td class="memItemLeft" align="right" valign="top">unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_pcx_image.html#abd9f0b27e274747917d4ca48d70bce07">width</a></td></tr>
<tr class="memitem:a20f0dd06e395e3375d072f0b3619fac0"><td class="memItemLeft" align="right" valign="top">unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_pcx_image.html#a20f0dd06e395e3375d072f0b3619fac0">height</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_pcx_8h_source.html#l00042">42</a> of file <a class="el" href="_pcx_8h_source.html">Pcx.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a3d5b4c2b4da899c4facbceefdc68b4e3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PcxImage::PcxImage </td>
          <td>(</td>
          <td class="paramtype">short&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">short&#160;</td>
          <td class="paramname"><em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long *&#160;</td>
          <td class="paramname"><em>hibits</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_p_c_x_8_c_p_p_source.html#l00128">128</a> of file <a class="el" href="_p_c_x_8_c_p_p_source.html">PCX.CPP</a>.</p>

</div>
</div>
<a class="anchor" id="a5b45064ec096e1b58fcb28ffdeff79e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PcxImage::PcxImage </td>
          <td>(</td>
          <td class="paramtype">short&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">short&#160;</td>
          <td class="paramname"><em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&#160;</td>
          <td class="paramname"><em>bits</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&#160;</td>
          <td class="paramname"><em>colors</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_p_c_x_8_c_p_p_source.html#l00035">35</a> of file <a class="el" href="_p_c_x_8_c_p_p_source.html">PCX.CPP</a>.</p>

</div>
</div>
<a class="anchor" id="ad5e1464a85fecfabc1c1ec9f49ee81fe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PcxImage::PcxImage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_p_c_x_8_c_p_p_source.html#l00031">31</a> of file <a class="el" href="_p_c_x_8_c_p_p_source.html">PCX.CPP</a>.</p>

</div>
</div>
<a class="anchor" id="aef6166fc906cfed5fe843d060d01195d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PcxImage::~PcxImage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_p_c_x_8_c_p_p_source.html#l00213">213</a> of file <a class="el" href="_p_c_x_8_c_p_p_source.html">PCX.CPP</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a8a1ba8c011bcf07869e9cf8930f12adb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int PcxImage::Load </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_p_c_x_8_c_p_p_source.html#l00221">221</a> of file <a class="el" href="_p_c_x_8_c_p_p_source.html">PCX.CPP</a>.</p>

</div>
</div>
<a class="anchor" id="a17d19ed5b6151aee713fe2959d2594bc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int PcxImage::LoadBuffer </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_p_c_x_8_c_p_p_source.html#l00331">331</a> of file <a class="el" href="_p_c_x_8_c_p_p_source.html">PCX.CPP</a>.</p>

</div>
</div>
<a class="anchor" id="a46ffea6c02866f34b8d6671e4a3b36a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int PcxImage::Save </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_p_c_x_8_c_p_p_source.html#l00435">435</a> of file <a class="el" href="_p_c_x_8_c_p_p_source.html">PCX.CPP</a>.</p>

</div>
</div>
<a class="anchor" id="ab89a1fe19de0f2a1dccaa2c887df5707"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const char* PcxImage::TYPENAME </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_pcx_8h_source.html#l00044">44</a> of file <a class="el" href="_pcx_8h_source.html">Pcx.h</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a8e0e07becd18526299b04eed22b2e7f9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char* PcxImage::bitmap</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_pcx_8h_source.html#l00058">58</a> of file <a class="el" href="_pcx_8h_source.html">Pcx.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6cffe8633fa17d1501fa73c3cdc553d8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_pcx_header.html">PcxHeader</a> PcxImage::hdr</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_pcx_8h_source.html#l00057">57</a> of file <a class="el" href="_pcx_8h_source.html">Pcx.h</a>.</p>

</div>
</div>
<a class="anchor" id="a20f0dd06e395e3375d072f0b3619fac0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned short PcxImage::height</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_pcx_8h_source.html#l00062">62</a> of file <a class="el" href="_pcx_8h_source.html">Pcx.h</a>.</p>

</div>
</div>
<a class="anchor" id="af8e782a08425e0c93240007b5aed4907"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned long* PcxImage::himap</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_pcx_8h_source.html#l00059">59</a> of file <a class="el" href="_pcx_8h_source.html">Pcx.h</a>.</p>

</div>
</div>
<a class="anchor" id="a21cfeeb8c100d5e2a543f5c4bdd8f213"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned long PcxImage::imagebytes</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_pcx_8h_source.html#l00061">61</a> of file <a class="el" href="_pcx_8h_source.html">Pcx.h</a>.</p>

</div>
</div>
<a class="anchor" id="aecd47ad29478b2df4a567c9adff7feab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char PcxImage::pal[768]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_pcx_8h_source.html#l00060">60</a> of file <a class="el" href="_pcx_8h_source.html">Pcx.h</a>.</p>

</div>
</div>
<a class="anchor" id="abd9f0b27e274747917d4ca48d70bce07"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned short PcxImage::width</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_pcx_8h_source.html#l00062">62</a> of file <a class="el" href="_pcx_8h_source.html">Pcx.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li>D:/SRC/StarshatterSVN/nGenEx/<a class="el" href="_pcx_8h_source.html">Pcx.h</a></li>
<li>D:/SRC/StarshatterSVN/nGenEx/<a class="el" href="_p_c_x_8_c_p_p_source.html">PCX.CPP</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="struct_pcx_image.html">PcxImage</a></li>
    <li class="footer">Generated on Tue Jun 5 2012 20:48:06 for Starshatter_Open by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li>
  </ul>
</div>
</body>
</html>
